package com.whz.singleton;

import java.util.function.Supplier;

/**
 * @Author: sinosoft
 * @Description:
 * @Date: Create in 18:34 2021/4/29
 * @Modified By:
 */
public class MainTest {
    public static void main(String[] args) {
        Elvis instance = Elvis.INSTANCE;
        System.out.println("main INSTANCE" + instance);

        Supplier<Elvis1<String>> elvisSupplier = Elvis1::getInstance;


    }
}
